Open Channel Message Input Component
This class creates and performs a view corresponding the message input area for OpenChannel
in Sendbird UIKit. since 3.0.0
Constructors
Types
Functions
Link copied to clipboard
Returns the edit text view used in the input component bt default.
Link copied to clipboard
Returns the view created by onCreateView.
Link copied to clipboard
Notifies this component that the channel data has changed.
Link copied to clipboard
open fun notifyDataChanged(@Nullable message: BaseMessage, @NonNull channel: OpenChannel)
Content copied to clipboard
open fun notifyDataChanged( @Nullable message: BaseMessage, @NonNull channel: OpenChannel, @NonNull defaultText: String)
Content copied to clipboard
Notifies this component that the data needed to draw the input has changed.
Link copied to clipboard
open fun notifyMyMutedStateChanged(@NonNull channel: OpenChannel, isMuted: Boolean)
Content copied to clipboard
Notifies this component that the muted state of the current user has changed.
Link copied to clipboard
Link copied to clipboard
Called when the cancel button is clicked, when the input is the edited mode.
Link copied to clipboard
Called when the save button is clicked, when the input is the edited mode.
Link copied to clipboard
protected open fun onEditModeTextChanged( @NonNull s: CharSequence, start: Int, before: Int, count: Int)
Content copied to clipboard
Called when the input text is changed, when the input is the edited mode.
Link copied to clipboard
Called when the left button of the input is clicked.
Link copied to clipboard
protected open fun onInputModeChanged(@NonNull before: MessageInputView.Mode, @NonNull current: MessageInputView.Mode)
Content copied to clipboard
Called when the input mode is changed.
Link copied to clipboard
Called when the right button of the input is clicked.
Link copied to clipboard
protected open fun onInputTextChanged( @NonNull s: CharSequence, start: Int, before: Int, count: Int)
Content copied to clipboard
Called when the input text is changed.
Link copied to clipboard
Requests to set the input mode.
Link copied to clipboard
open fun setOnEditModeCancelButtonClickListener(@Nullable editModeCancelButtonClickListener: View.OnClickListener)
Content copied to clipboard
Register a callback to be invoked when the cancel button is clicked, when the input is the edited mode.
Link copied to clipboard
open fun setOnEditModeSaveButtonClickListener(@Nullable editModeSaveButtonClickListener: View.OnClickListener)
Content copied to clipboard
Register a callback to be invoked when the save button is clicked, when the input is the edited mode.
Link copied to clipboard
open fun setOnEditModeTextChangedListener(@Nullable editModeTextChangedListener: OnInputTextChangedListener)
Content copied to clipboard
Register a callback to be invoked when the input text is changed, when the input is the edited mode.
Link copied to clipboard
open fun setOnInputLeftButtonClickListener(@Nullable inputLeftButtonClickListener: View.OnClickListener)
Content copied to clipboard
Register a callback to be invoked when the left button of the input is clicked.
Link copied to clipboard
open fun setOnInputModeChangedListener(@Nullable inputModeChangedListener: OnInputModeChangedListener)
Content copied to clipboard
Register a callback to be invoked when the input mode is changed.
Link copied to clipboard
open fun setOnInputRightButtonClickListener(@Nullable inputRightButtonClickListener: View.OnClickListener)
Content copied to clipboard
Register a callback to be invoked when the right button of the input is clicked.
Link copied to clipboard
open fun setOnInputTextChangedListener(@Nullable inputTextChangedListener: OnInputTextChangedListener)
Content copied to clipboard
Register a callback to be invoked when the input text is changed.